package com.starmark.gateway.log.access.disruptor.event;

import com.starmark.gateway.log.access.entity.GatewayAccessLog;
import lombok.Data;

import java.io.Serializable;

/**
 * LogDataEvent.
 *
 * @author starmark
 */
@Data
public class LogDataEvent implements Serializable {

    private GatewayAccessLog gatewayAccessLog;

    /**
     * clear data help gc.
     */
    public void clear() {
        //help gc
        gatewayAccessLog = null;
    }
}
